package com.zxf.appliction.domain;

import java.util.Date;

public class Users  extends BaseModel{
	private Integer userid;
	private String username;
	private String password;
	private String loginame;
	private Integer following = 0;
	private Integer followers = 0;
	private Integer posts = 0;
	private Date signup;
	private String checkCode;

	
	public Users() {
		super();
	}

	public Users(Integer userid, String username, String password, String loginame, Integer following,
			Integer followers, Integer posts, Date signup, String checkCode) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.loginame = loginame;
		this.following = following;
		this.followers = followers;
		this.posts = posts;
		this.signup = signup;
		this.checkCode = checkCode;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username == null ? null : username.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	public String getLoginame() {
		return loginame;
	}

	public void setLoginame(String loginame) {
		this.loginame = loginame == null ? null : loginame.trim();
	}

	public Integer getFollowing() {
		return following;
	}

	public void setFollowing(Integer following) {
		this.following = following;
	}

	public Integer getFollowers() {
		return followers;
	}

	public void setFollowers(Integer followers) {
		this.followers = followers;
	}

	public Integer getPosts() {
		return posts;
	}

	public void setPosts(Integer posts) {
		this.posts = posts;
	}

	public Date getSignup() {
		return signup;
	}

	public void setSignup(Date signup) {
		this.signup = signup;
	}

	@Override
	public String toString() {
		return "Users [userid=" + userid + ", username=" + username + ", password=" + password + ", loginame="
				+ loginame + ", following=" + following + ", followers=" + followers + ", posts=" + posts + ", signup="
				+ signup + ", checkCode=" + checkCode + "]";
	}

}